import ServiceList from './components/ServiceList'
import Route from './components/RoutesListByService'
import UpstreamDetail from './components/UpstreamDetail'
import CommandList from './components/CommandList'
import CommandEdit from './components/CommandEdit'

const routes = [
    { path: '/service', component: ServiceList },
    // { path: '/route/:serviceId', component: Route },
    {
        path: '/routes',
        component: Route
    },
    {
      path : '/upstream',
      component : UpstreamDetail
    },
    {
      path : '/comamnds',
      component : CommandList
    },
    {
      path : '/command/edit',
      component: CommandEdit
    }
  ]

export default routes